*** Keywords ***
get cells text
    [Arguments]    ${rowIndex}    ${cells}
    ${row_list}=    Create List
    FOR    ${cellindex}    IN RANGE    1    ${cells}
        ${curText}=    Get Text    //tbody/tr[${rowIndex}]/td[${cellindex}]/span
        append to list    ${row_list}    ${curText}
    END
    [Return]    ${row_list}

get table list
    [Arguments]    ${WEB_ROW}    ${WEB_CELL}
    ${rows}=    Get Element Count    ${WEB_ROW}    # 获取总行数
    ${cells}=    Get Element Count    ${WEB_CELL}    # 获取总列数
    ${table_list}=    Create list
    FOR    ${rowIndex}    IN RANGE    1    ${rows+1}
        ${row_list}    Get cells text    ${rowIndex}    ${cells}+1
        append to list    ${table_list}    ${row_list}
    END
    [Return]    ${table_list}
